# -*- coding: utf-8 -*-
# pylint: disable-msg=C0301
from django.conf.urls.defaults import *


urlpatterns = patterns('ytalk.ytalkapp.views',
    (r'^$',                 'list'),
    (r'^comet/$',           'comet_list'),
    (r'^new/$',                 'new_room'),
    (r'^list_event/$',                 'list_event_r'),
    (r'^(?P<room_id>[A-Za-z0-9_]+)/$',                  'room'),
    (r'^(?P<room_id>[A-Za-z0-9_]+)/push/$',             'push'),
    (r'^(?P<room_id>[A-Za-z0-9_]+)/comet/$',            'comet'),
    (r'^(?P<room_id>[A-Za-z0-9_]+)/del/$',              'room_cleanup'),
)
